<div class="widget links">
    <div class="gradient">
        <div class="label">
            <span><?php echo Yii::t('default', 'Links') ?></span>
        </div>
        <div class="content">
            <?php
                $links = array();
                $links[] = array('href' => '#', 'title' => Yii::t('default', 'Links'));
                $links[] = array('href' => 'http://www.tienphong.vn/Suc-Khoe/Index.html', 'title' => Yii::t('default', 'Báo Tiền phong - Sức khỏe'));
                $links[] = array('href' => 'http://dantri.com.vn/suc-khoe.htm', 'title' => Yii::t('default', 'Báo Dân trí - Sức khỏe'));
                $links[] = array('href' => 'http://giadinh.vnexpress.net/', 'title' => Yii::t('default', 'VnExpress - Gia đình'));
                $links[] = array('href' => 'http://hcm.24h.com.vn/am-thuc-c460.html', 'title' => Yii::t('default', '24h - Ẩm thực'));
            ?>
            <div>
                <select id="links" onchange="" size="1">
                    <?php foreach ($links as $link): ?>
                    <option value='<?php echo $link['href'] ?>'><?php echo $link['title'] ?></option>
                    <?php endforeach ?>
                </select>
                <script type="text/javascript">
                jQuery(function(){
                    jQuery('#links').change(function(){
                    	jQuery(this).find("option:selected").each(function () {
                        	var val = jQuery(this).val();
                        	if (val == '#') {
                            	return;
                        	}
                        	window.open(val, 'newwindow');
                    	});
                    });
                });
                </script>
            </div>
        </div>
    </div>
</div>
